package de.szut.interfaces;

import com.j256.ormlite.dao.Dao;
import de.szut.entity.Country;

import java.util.List;

/**
 * Created by dzebcuks on 23.08.13.
 */
public interface CountryDao extends Dao<Country, String> {

    /**
     * Searches for a country by its color (has to be unique)
     *
     * @param color
     * @return
     */
    public Country getCountryByColor(int color);

    public Country getCountryByName(String name);

    public List<Country> getInfectedCountries();

    public List<Country> getNotInfectedCountries();

    public List<Country> getControlledCountries();
}
